package edzest.basic;

public class J02_Arithmetic {

	public static void main(String[] args) {
		double number = (1/3)*3;     // (1/3) = 0  뒤에 소수점 버림
		double number2 = (1.0/3)*3;  // (1.0/3) = 0.333333....
		
		System.out.println(number);
		System.out.println(number2);
		
		System.out.println((1/3)*3);
		System.out.println((1.0/3)*3);
		System.out.println((1F/3)*3);
		System.out.println(((float)1/3)*3);
	}

}
